package com.scs.application.modules.orth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;

import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 骨科验收平台出库清点表
 * </p>
 */
@Data
@Accessors(chain = true)
@TableName("orth_check")
public class Check extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "in:wm_work_order.asn_key",
            length = "30.0",
            not_null = true,
            default_value = "",
            comment = "骨科验收平台入库单流水号"
    )
    private String refKey;

    @EntityFieldAnnotation(
            text = "in:base_pack_templet.id",
            type = EntityFieldType.LONG,
            length = "0.0",
            not_null = true,
            default_value = "",
            comment = "跟台包编码"
    )
    private String packId;

    @EntityFieldAnnotation(
            text = "udi",
            length = "30.0",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String udi;

    @EntityFieldAnnotation(
            text = "物料ID",
            type = EntityFieldType.LONG,
            length = "0.0",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String matrId;

    @EntityFieldAnnotation(
            text = "单品数量",
            length = "0.0",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private Double skuQty;

}
